function showRecycleNoteWindow(){

    $(".opacity_bg").show();//显示背景
    var url = base_url + "/alert/alert_delete_note.html";
    $("#can").load(url);
    return false;//阻止冒泡

}

function showAddNoteWindow(){

    //判断是否有笔记本被选中
    var $bookLi = $("#book_list a.checked");
    if($bookLi.length == 0){
        alert("请添加笔记本")
    }else {
        $(".opacity_bg").show();//显示背景
        var url = base_url + "/alert/alert_note.html";
        $("#can").load(url);
    }


}

function showAddBookWindow(){
    $(".opacity_bg").show();//显示背景
    var url = base_url + "/alert/alert_notebook.html";
    $("#can").load(url);

}
function closeWindow(){
    $(".opacity_bg").hide();
    $("#can").empty();
}